import React from "react";
import placeholder from "@/assets/placeholder.jpg";
import styles from "./Repository.less";

export class Skeleton extends React.Component {
  render() {
    const { rank } = this.props;
    return (
      <div className={styles.item}>
        <h2 className="text-center">#{rank}</h2>
        <div className="text-center">
          <img src={placeholder} alt="加载中" />
        </div>
      </div>
    );
  }
}
export default Skeleton;
